// import '@babel/polyfill'
import React from 'react';
import { Route,Switch,HashRouter,Redirect } from 'react-router-dom';
import Login from './pages/login/login';
import Admin from './pages/admin/admin';
import './style/reset.css'


 function App() {

		return (
		    <HashRouter>
			   <Switch>
			       <Route path="/login" component={Login} />
			       <Route path="/admin" component={Admin} />
				   <Redirect from="/" to="/login" exact />
			   </Switch>
			</HashRouter>
		)
	
}
export default App